Logarithm R←X⍟Y

Y must be a positive numeric array. X must be a positive numeric array. X cannot be 1 unless Y is also 1. R is the base X logarithm of Y.

Note that Logarithm (dyadic ) is defined in terms of Natural Logarithm (monadic ) as:

      X⍟Y←→(⍟Y)÷⍟X

Examples

      10⍟100 2
2 0.3010299957
 
      2 10⍟0J1 1J2
0J2.266180071 0.3494850022J0.4808285788
 
      1 ⍟ 1
1
      2 ⍟ 1
0